id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

Athenian: Variablesaddition3

prev  |  next  |  chance

Determine the value returned by the function.

def adder(val1, val2):
    total = val1 + val2
    return total
Function Call  Return Value
adder(2, 3)
adder(2, -2)
adder(0, 20)
adder(-50, 15)
adder(6, 5)

Experiment with this code on Gitpod.io

⬅ Back